package com.chenjie.crud.eo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.sql.Timestamp;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.core.metadata.OrderItem;
import lombok.Data;
import org.joda.time.DateTime;

/**
 * 岗位管理表
 * @author chenjie
 * @TableName station
 */
@TableName(value ="station")
@Data
public class Station implements Serializable {
    /**
     * 主键id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 岗位名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 岗位编码
     */
    @TableField(value = "station_code")
    private String stationCode;

    /**
     * 显示顺序
     */
    @TableField(value = "sort")
    private Integer sort;

    /**
     * 岗位状态，正常true,停用false
     */
    @TableField(value = "station_status")
    private Boolean stationStatus;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 是否删除，正常true,删除false
     */
    @TableField(value = "delete_flag", fill = FieldFill.INSERT)
    @TableLogic(value = "1", delval = "2")
    private Boolean deleteFlag;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}